//package com.zjx.postprocessor;
//
//import org.springframework.beans.BeansException;
//import org.springframework.beans.factory.config.BeanPostProcessor;
//import org.springframework.context.annotation.Configuration;
//
///**
// * @author zjx
// * @create 2020-04-06 13:53
// */
//@Configuration
//public class CustomizedBeanPostProcessor implements BeanPostProcessor {
//	//bean初始化以前去做调用的
//	@Override
//	public Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException {
//		System.out.println(beanName+"调用了postProcessBeforeInitialization()");
//		return bean;
//	}
//
//	@Override
//	public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException {
//		System.out.println(beanName+"调用了postProcessAfterInitialization()");
//		return bean;
//	}
//}
